package com.kime.shiro.dao;

import com.kime.shiro.entity.User;
import org.springframework.stereotype.Repository;

@Repository
public interface UserDAO {
    void save(User user);

    User findByUserName(String username);

    // 根据用户名查询所有角色
    User findRolesByUserName(String username);
}
